#!/usr/bin/env python3
# coding:utf-8
import requests
import json
# server_url = 'http://0.0.0.0:8080/core/task/'
server_url = 'http://0.0.0.0:8080/api/v1/base/'


def get_area():
    data = {'pid': "110100000000", }
    url = server_url + 'get_area'
    headers = {'Content-Type': 'application/json'}
    r = requests.post(url, json=data, headers=headers)
    print(type(r))
    print(r.json())

get_area()


if __name__ == '__main__':
    pass